﻿using Basefr.App.Messages;
using Paas.App.Interface.Meta.Dtos;
using Paas.App.Interface.MetaForms.Dtos;
using Paas.Core.Const.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Paas.App.Interface.MetaForms.Messages
{
    public class SearchMetaFormFieldInput : QueryPagedInput
    {
        public string ReLabel { get; set; }
        //public string ObjectId { get; set; }
        /// <summary>
        /// 字段所属元数据表单Id
        /// </summary>
        public Guid? MetaFormId { get; set; }
        ///// <summary>
        ///// 元数据状态
        ///// </summary>
        //public MetaStatus? CurrentStatus { get; set; }
    }
    public class SearchMetaFormFieldOutput : QueryPagedOutput<MetaFormFieldDto> { }
    public class SearchMetaFieldForFormFieldInput : QueryPagedInput
    {
        //public string Name { get; set; }
        //public string Label { get; set; }
        public string ObjectId { get; set; }
        /// <summary>
        /// 字段所属元数据表单Id
        /// </summary>
        public Guid? MetaFormId { get; set; }
        ///// <summary>
        ///// 元数据状态
        ///// </summary>
        //public MetaStatus? CurrentStatus { get; set; }
    }
    public class SearchMetaFieldForFormFieldOutput : QueryPagedOutput<MetaFieldDto> { }
    public class SaveMetaFormFieldInput : SaveInput<MetaFormFieldDto, Guid>
    {
        /// <summary>
        /// 字段所属元数据表单Id
        /// </summary>
        public Guid? MetaFormId { get; set; }
        public List<string> FormFields { get; set; }

    }

    public class SaveMetaFormFieldOutput : SaveOutput<MetaFormFieldDto, Guid>
    {

    }
    public class PublicMetaFormFieldInput
    {
        public List<Guid> Ids { get; set; }
    }
    public class DeleteMetaFormFieldInput : DeleteInput<Guid> { }
    public class DeleteMetaFormFieldOutput : DeleteOutput { }
}
